<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .con{
            height: 300px;
            background-color: grey;
            position: relative;
            margin-top: 50px;
            margin-left: 50px;
            width: 50%;
        }
        .con .pic{
            background-image: url(../img/快乐加倍.png);
            width: 100px;
            height: 100px;
            background-size: contain;
            background-repeat: no-repeat;
            position: absolute;
        }
        .pic:hover{
            transform: scale(1.5);
            transition: all 0.5s;
            box-shadow: 5px 5px 5px black;
        }
        .pic1{
            top:100px;
            left: 161px;
            transform: rotate(45deg);
        }
        .pic2{
        top:120px;
        left: 131px;
        transform: rotate(60deg);
            }
        .pic3{
            left: 121px;
            top:120px;
            transform: scale(1.2);
        }

    </style>
</head>
<body>
    <div class="con">
        <div class='pic pic1'></div>
        <div class='pic pic2'></div>
        <div class='pic pic3'></div>
    </div>
</body>
</html>